package com.woniu.atms.vo.pre.user;

import com.woniu.atms.entity.G5Passenger;
import com.woniu.atms.entity.G5User;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
/**
 * @author 张杰
 * 前台用户分页查询视图
 */
@Getter
@Setter
public class UserPageVO {
    private G5User g5User;
    @NotNull(message = "页码不能为null")
    @Min(value = 1, message = "页面最少为1")
    private Integer pageNum;
    @NotNull(message = "页面大小不能为null")
    @Min(value = 1, message = "页面大小最少为1")
    private Integer pageSize;
}
